﻿using System;
using System.Text;

namespace KPIS.GERP.GIMS.MODEL
{
    public class M_Asset
    {
        private string ASSET_CODE;
        private string ASSET_NAME;
        private DateTime ASSET_DATE;
        private string SERIAL_NUMBER;
        private string ASSET_REMARK;
        private Nullable<Int32> DISPENSE_SEQ;
        private Nullable<Int32> DEPRECIATE_BELOW_FLAG;
        private double PRICE;
        private Int32 ICM_RES_ITEM_SEQ;
        private Int32 ICM_RECEIVE_SEQ;
        private string ICM_RECEIVE_CODE;
        private Nullable<DateTime> RECEIVE_DATE;
        private string RECORD_STATUS;
        private Int32 CREATED_BY;
        private DateTime CREATED_WHEN;
        private Nullable<Int32> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;
        // For Asset Code
        private string ASSETCODE_RUNNING;
        private string STRYEAR;
        private string STRMONTH;

        public string asset_code
        {
          get { return ASSET_CODE; }
          set { ASSET_CODE = value; }
        }
        public string asset_name
        {
          get { return ASSET_NAME; }
          set { ASSET_NAME = value; }
        }
        public DateTime asset_date
        {
          get { return ASSET_DATE; }
          set { ASSET_DATE = value; }
        }
        public string serial_number
        {
          get { return SERIAL_NUMBER; }
          set { SERIAL_NUMBER = value; }
        }
        public string asset_remark
        {
          get { return ASSET_REMARK; }
          set { ASSET_REMARK = value; }
        }
        public Nullable<Int32> dispense_seq
        {
          get { return DISPENSE_SEQ; }
          set { DISPENSE_SEQ = value; }
        }
        public Nullable<Int32> depreciate_below_flag
        {
          get { return DEPRECIATE_BELOW_FLAG; }
          set { DEPRECIATE_BELOW_FLAG = value; }
        }
        public double price
        {
          get { return PRICE; }
          set { PRICE = value; }
        }
        public Int32 icm_res_item_seq
        {
          get { return ICM_RES_ITEM_SEQ; }
          set { ICM_RES_ITEM_SEQ = value; }
        }
        public Int32 icm_receive_seq
        {
          get { return ICM_RECEIVE_SEQ; }
          set { ICM_RECEIVE_SEQ = value; }
        }
        public string icm_receive_code
        {
            get { return ICM_RECEIVE_CODE; }
            set { ICM_RECEIVE_CODE = value; }
        }
        public Nullable<DateTime> receive_date
        {
            get { return RECEIVE_DATE; }
            set { RECEIVE_DATE = value; }
        }
        public string record_status
        {
          get { return RECORD_STATUS; }
          set { RECORD_STATUS = value; }
        }
        public Int32 created_by
        {
          get { return CREATED_BY; }
          set { CREATED_BY = value; }
        }
        public DateTime created_when
        {
          get { return CREATED_WHEN; }
          set { CREATED_WHEN = value; }
        }
        public Nullable<Int32> updated_by
        {
          get { return UPDATED_BY; }
          set { UPDATED_BY = value; }
        }
        public Nullable<DateTime> updated_when
        {
            get { return UPDATED_WHEN; }
            set { UPDATED_WHEN = value; }
        }
        public string assetcode_running
        {
            get { return ASSETCODE_RUNNING; }
            set { ASSETCODE_RUNNING = value; }
        }
        public string stryear
        {
            get { return STRYEAR; }
            set { STRYEAR = value; }
        }
        public string strmonth
        {
            get { return STRMONTH; }
            set { STRMONTH = value; }
        }

    }
}
